package cn.funeralobjects.asms.web.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

/**
 * @author FuneralObjects
 * Create date: 2020/6/1 7:08 AM
 */
@Data
@Accessors(chain = true)
public class MSmsSend {
    @NotNull
    @Min(1)
    private Integer signId;
    @NotNull
    @Min(1)
    private Integer templateId;
    private Map<String, String> msgParam;
    @NotEmpty
    private List<String> telephones;
}
